|
|
|
|
|
|
|
ShowTips determines whether ToolTips will be shown if users rest the mouse pointer on one of the buttons. |
|
|
|
|
|
|
|
|
Figure 4.2.
Using the Toolbar controls Property Pages to
add buttons and assign their images. |
|
|
|
|
|
|
|
|
The real action starts when you create the buttons for the toolbar. You'll actually add the buttons on the Buttons page of the Property Pages dialog box (see Figure 4.3). |
|
|
|
|
|
|
|
|
Figure 4.3.
The Buttons page allows you to add and modify
the buttons and their images that you add to the
toolbar. |
|
|
|
|
|
|
|
|
To add a button to the toolbar after the currently selected button, click the Insert button. For each button that you add, you need to specify the following properties: |
|
|
|
|
|
|
|
|
The Key property specifies a string that you can use to identify the button in your code. The value of this property must be unique for each button, and you should assign a string that's meaningful to you. This will make it easier to remember when you're writing your code. |
|
|
|
|
|